package cn.hill4j.tool.spring.std.advice.feign;

import cn.hill4j.tool.spring.ext.feign.wrap.WrapFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * ClassName: WrapFeignClient
 * Description: TODO
 *
 * @author hillchen
 * Date: 2023年08月14日
 * @version: 1.0
 */
@FeignClient(name = "wrapFeign",url = "localhost:8888",configuration = WrapFeignConfig.class)
public interface WrapFeignClient {
    @GetMapping("/say/hello/{user}")
    String sayHello(@PathVariable("user")String user);

}
